/*
 * @Author: SevDaisy十七散人 
 * @Date: 2020-07-04 08:45:50 
 */
package zyy.model;

public class BeanOrderProjects {
  public static final String[] tableTitles = { "商家", "商品名", "数量", "单品折扣金额", "单品总售价" };
  private int ProductID;
  private int OrderID;
  // private int OrderProjectsID;

  private int MID;
  private String mName;

  private String pName; // 商品名
  private double opCnt;// 数量
  private double opSum;// 单品总售价
  private double opDiscount;// 单品折扣金额

  public String getCell(int col) {
    switch (col) {
      case 0:
        return this.mName;
      case 1:
        return this.pName;
      case 2:
        return (this.opCnt + "");
      case 3:
        return (this.opDiscount + "");
      case 4:
        return (this.opSum + "");
      default:
        return "";
    }
  }

  public int getProductID() {
    return ProductID;
  }

  public void setProductID(int productID) {
    ProductID = productID;
  }

  public int getOrderID() {
    return OrderID;
  }

  public void setOrderID(int orderID) {
    OrderID = orderID;
  }

  public double getOpCnt() {
    return opCnt;
  }

  public void setOpCnt(double opCnt) {
    this.opCnt = opCnt;
  }

  public double getOpSum() {
    return opSum;
  }

  public void setOpSum(double opSum) {
    this.opSum = opSum;
  }

  public double getOpDiscount() {
    return opDiscount;
  }

  public void setOpDiscount(double opDiscount) {
    this.opDiscount = opDiscount;
  }

  public String getpName() {
    return pName;
  }

  public void setpName(String pName) {
    this.pName = pName;
  }

  public int getMID() {
    return MID;
  }

  public void setMID(int mID) {
    MID = mID;
  }

  public String getmName() {
    return mName;
  }

  public void setmName(String mName) {
    this.mName = mName;
  }
}